package bridge;

/**
 * 具体图形 矩形
 */
public class Rectangle extends Shape {
    public Rectangle(Color color) {
        super(color);
    }

    public void draw() {
        System.out.print("Drawing a rectangle. ");
        color.applyColor();
    }
}
